﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmPronosticoImportacionAprobacionDetalle.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmPronosticoImportacionAprobacionDetalle" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">



<div class="main-header" style="width:100%;">
            <div class="main-titulo" style="width:87%;">Actualizacion de Pronostico de Importacion
            

            </div>
          
            <table>
         <tr>
        
               <td>
                     <dx:ASPxButton ID="btnSalir1" runat="server" Text="Salir" Width="100px" 
                         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                         CssPostfix="Office2010Blue" 
                         SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                         AutoPostBack="False">
                         <ClientSideEvents Click="function(s, e) {
	history.back();
}" />
                         

                 </dx:ASPxButton> 
               
             </td>
         </tr>
     </table>
  
            <div class="main-opciones" style="text-align:right">
                <table style="float:right; width: 338px;">
                    <tr>
                        <td>
                            <asp:ImageButton ID="btnAddItem" runat="server" ImageUrl="~/Images/additem.png" 
                                Visible="False"/>
                        </td>
                        <td>
                            <asp:ImageButton ID="ImageButton2" runat="server" 
                                ImageUrl="~/Images/ExportarExcel.png" 
                                Visible="False" />
                        </td>
                        <td>
                            <asp:UpdatePanel runat="server" ID="upActualizarPedido">
                                <ContentTemplate>  
                                    <asp:ImageButton ID="btnActualizar" runat="server" 
                                        ImageUrl="~/Images/salir.png" 
                                        Visible="False"/>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                        <td>
                             <asp:UpdatePanel runat="server" ID="upResetear">
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                </table>                
            </div>    
          </div> 











<dx:ASPxGridView ID="dgDetallePedido" runat="server" 
                            AutoGenerateColumns="False" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                   CssPostfix="Office2010Blue" width="100%" KeyFieldName="id_material" 
                            ClientInstanceName="dgDetallePedido" 
                   DataSourceID="ObjectDataSource1" 
                   
        oncustomunboundcolumndata="dgDetallePedido_CustomUnboundColumnData" 
        onpageindexchanged="dgDetallePedido_PageIndexChanged">
                            <Settings ShowFilterBar="Visible" ShowFilterRow="True" 
                                ShowGroupedColumns="True" ShowGroupPanel="True" 
                                VerticalScrollableHeight="300" VerticalScrollBarStyle="Virtual" />
                            <Columns>
                                <dx:GridViewDataTextColumn Caption="Nro_Pronostico" FieldName="Nro_Pronostico" 
                                    ReadOnly="True" VisibleIndex="60" Visible="False">
                                    <PropertiesTextEdit Height="1px" Width="1px">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <Settings AllowDragDrop="False" AllowGroup="True" />
                                    <EditFormSettings VisibleIndex="14" Visible="False" />
                                    <EditCellStyle BackColor="White" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditCellStyle>
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Marca" FieldName="DES_MARCA" 
                                    ReadOnly="True" VisibleIndex="18">
                                    <PropertiesTextEdit>
                                      
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="2" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="id_material" Visible="False" 
                                    VisibleIndex="1" ReadOnly="True">
                                    <PropertiesTextEdit Width="1px">
                                        <ReadOnlyStyle BackColor="White" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="True" />
                                    <EditCellStyle BackColor="White" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditCellStyle>
                                    <EditFormCaptionStyle BackColor="White" ForeColor="White">
                                    </EditFormCaptionStyle>
                                    <CellStyle BackColor="White">
                                        <Border BorderColor="White" />
                                    </CellStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Modelo" 
                                    VisibleIndex="4" FieldName="DES_MODELO" Width="200px" ReadOnly="True">
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="9" />
                                    <EditFormSettings VisibleIndex="6" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Código" 
                                    ReadOnly="True" VisibleIndex="2" FieldName="COD_MATERIAL" 
                                    FixedStyle="Left">
                                    <PropertiesTextEdit >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <Settings AllowDragDrop="False" />
                                    <EditFormSettings VisibleIndex="5" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Descripción" FieldName="DES_MATERIAL" 
                                    ReadOnly="True" VisibleIndex="3" Width="200px" FixedStyle="Left">
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                         <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock Unid" 
                                    ReadOnly="True" VisibleIndex="9" FieldName="can_stock">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock + Transito" FieldName="can_stock_mas_transito" 
                                    ReadOnly="True" VisibleIndex="19">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Prom. Sal. Diarias" FieldName="psd" 
                                    ReadOnly="True" VisibleIndex="20">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock Dia" ReadOnly="True" 
                                    VisibleIndex="21" FieldName="stk_dia">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}" Height="1px" Width="1px">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock D" 
                                    ReadOnly="True" VisibleIndex="22" Visible="False" FieldName="Stock_D">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}" Height="1px" Width="1px">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Transito FOB" 
                                    ReadOnly="True" VisibleIndex="23" 
                                    FieldName="imp_transito_fob">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00" Height="1px" Width="1px">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock + Transito D" FieldName="stock_mas_transito_d" 
                                    ReadOnly="True" VisibleIndex="25" Visible="False">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Stock Min" 
                                    Visible="False" VisibleIndex="26" FieldName="can_stock_min" 
                                    ReadOnly="True">
                                    <PropertiesTextEdit Height="1px" Width="1px" DisplayFormatString="{0:N0}">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Cant. Sugerida" 
                                    FieldName="cant_sugerida" ReadOnly="True" 
                                    VisibleIndex="13">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="8" Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Cant. Sug. Real" FieldName="cant_sug_real" 
                                    VisibleIndex="14">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}" >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="10" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="FOB $" FieldName="fob_me" 
                                    ReadOnly="True" VisibleIndex="15">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00" >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Cant Venta" FieldName="cant_vta" 
                                    ReadOnly="True" VisibleIndex="8">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}" >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="13" Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Imp_Ventas" FieldName="imp_ventas" 
                                    ReadOnly="True" VisibleIndex="43" Visible="False">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00" >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="12" Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="PSM" 
                                    FieldName="psm" ReadOnly="True" 
                                    VisibleIndex="7">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Cant. No Atendida" FieldName="cant_no_Ate" 
                                    ReadOnly="True" Visible="False" VisibleIndex="46">
                                    <PropertiesTextEdit DisplayFormatString="0:N0" >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Cant. No Atendida D" FieldName="cant_no_Ate_d" 
                                    ReadOnly="True" VisibleIndex="47" Visible="False">
                                    <PropertiesTextEdit DisplayFormatString="0:N0">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Rotacion" FieldName="Rotacion" 
                                    VisibleIndex="12" ReadOnly="True">
                                    <PropertiesTextEdit DisplayFormatString="0:N0">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Margen" FieldName="margen_p" ReadOnly="True" 
                                    VisibleIndex="50" Visible="False">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Ind Trabajo" FieldName="IND_TRABAJADO" 
                                    ReadOnly="True" VisibleIndex="53" Visible="False">
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Ind Ktt" FieldName="IND_KIT" 
                                    ReadOnly="True" VisibleIndex="55" Visible="False">
                                    <PropertiesTextEdit Width="1px">
                                        <ReadOnlyStyle BackColor="White" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Codigo Kit" FieldName="CODIGO_KIT" ReadOnly="True" 
                                    Visible="False" VisibleIndex="57">
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataDateColumn Caption="Fecha_Caducidad" 
                                    FieldName="FECHA_CADUCIDAD" ReadOnly="True" VisibleIndex="58" 
                                    Visible="False">
                                    <PropertiesDateEdit>
                                        <CalendarProperties ClearButtonText="Vaciar" TodayButtonText="Hoy">
                                            <FastNavProperties CancelButtonText="Cancelar" OkButtonText="Aceptar" />
                                        </CalendarProperties>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                      
                                    </PropertiesDateEdit>
                                    <EditFormSettings VisibleIndex="11" Visible="False" />
                                </dx:GridViewDataDateColumn>
                                <dx:GridViewDataTextColumn Caption="Total Pronostico $" ReadOnly="True" 
                                    VisibleIndex="16" FieldName="Total" UnboundType="Decimal">
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditFormCaptionStyle>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="cup_d" VisibleIndex="62" Visible="False">
                                    <PropertiesTextEdit >
                                        <ReadOnlyStyle ForeColor="White" Font-Size="1pt">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="can_transito" 
                                    VisibleIndex="10" Caption="Transito Unid." >
                                    <PropertiesTextEdit DisplayFormatString="##,##0.00">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="can_stock" Visible="False" 
                                    VisibleIndex="64">
                                    <PropertiesTextEdit DisplayFormatString="{0:N0}">
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                        <Style BackColor="White">
                                            <Border BorderColor="White" />
                                        </Style>
                                    </PropertiesTextEdit>
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="TIPO_ABC" 
                                    VisibleIndex="6" Caption="Tipo ABC">
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="ID_MARCA" Visible="False" 
                                    VisibleIndex="24">
                                    <PropertiesTextEdit  Height="1px" Width="1px">
                                        <ReadOnlyStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                            <Border BorderColor="White" />
                                        </ReadOnlyStyle>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings VisibleIndex="7" Visible="False" />
                                    <EditFormCaptionStyle BackColor="White" Font-Size="1pt" ForeColor="White">
                                        <Border BorderColor="White" />
                                    </EditFormCaptionStyle>
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="COD_MARCA" Visible="False" 
                                    VisibleIndex="56">
                                    <PropertiesTextEdit >
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <PropertiesTextEdit>
                                        <ValidationSettings ErrorText="Valor inválido">
                                            <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        </ValidationSettings>
                                    </PropertiesTextEdit>
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Des. ingles" 
                                    FieldName="DES_MATERIAL_INGLES" VisibleIndex="5">
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn Caption="Nro Rueda" FieldName="TIP_NUM_RUEDA" 
                                    VisibleIndex="17">
                                    <EditFormSettings Visible="False" />
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <Settings ShowFooter="true" />
                            <TotalSummary>
                            <dx:ASPxSummaryItem  FieldName="Total" SummaryType="Sum" />
                            
                            </TotalSummary>
                            <SettingsBehavior AllowFocusedRow="True" AllowSelectByRowClick="True" />
                            <SettingsPager>
                                <AllButton Text="All">
                                </AllButton>
                                <NextPageButton Text="Next &gt;">
                                </NextPageButton>
                                <PrevPageButton Text="&lt; Prev">
                                </PrevPageButton>
                            </SettingsPager>
                            <SettingsEditing Mode="PopupEditForm" PopupEditFormHeight="115px" 
                                PopupEditFormHorizontalAlign="WindowCenter" PopupEditFormModal="True" 
                                PopupEditFormVerticalAlign="WindowCenter" PopupEditFormWidth="515px" />
                            <Settings ShowHorizontalScrollBar="True" />
                            <SettingsCustomizationWindow Enabled="True" PopupVerticalAlign="TopSides" />
                            <SettingsLoadingPanel />
                            <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                </LoadingPanelOnStatusBar>
                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                </LoadingPanel>
                            </Images>
                            <ImagesFilterControl>
                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                </LoadingPanel>
                            </ImagesFilterControl>
                            <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue">
                                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                </Header>
                                <LoadingPanel ImageSpacing="5px">
                                </LoadingPanel>
                            </Styles>
                            <StylesPager>
                                <PageNumber ForeColor="#3E4846">
                                </PageNumber>
                                <Summary ForeColor="#1E395B">
                                </Summary>
                            </StylesPager>
                            <StylesEditors ButtonEditCellSpacing="0" >
                                <ProgressBar Height="21px">
                                </ProgressBar>
                            </StylesEditors>
                        </dx:ASPxGridView>


                            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                            SelectMethod="listarDet" 
                            TypeName="Crosland.Automotriz.Logic.Linq.ActualizarPedidoLogic" 
                            UpdateMethod="ModicarDet" 
                            DataObjectTypeName="Crosland.Automotriz.Core.TH_PEDIDO_IMP_DET" 
                            OldValuesParameterFormatString="original_{0}">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="0" Name="nu_pedido" Type="Int32" />
                            </SelectParameters>
                        </asp:ObjectDataSource>

    



</asp:Content>
